<?php
//ssp/exchange 对应的公开 api 接口地址
//认证用户名和密码保存于 ad_network 表

return [
	'vamaker' => [
		'domain' => 'http://192.168.1.151',                                 // ssp site
		'bannerAdspace' => 'http://192.168.1.151/api/banner/adspaceinfo', // banner 广告位拉取api
		'videoAdspace' => 'http://192.168.1.151/api/video/adspaceinfo',	// video 广告位拉取api
		'mobileAdspace' => 'http://192.168.1.151/api/mobile/adspaceinfo',
        'mobileVideoAdspace' => 'http://192.168.1.151/api/mobile-video/adspaceinfo',

		'bannerCreativeUpload' => '/api/banner/add',						// banner 创意上传 api
		'bannerCreativeUpdate' => '/api/banner/update', 					// banner 创意更新 api
		'bannerCreativeStatus' => '/api/banner/status', 					// banner 创意审核状态查询
		'bannerCreativeGet' => '/api/banner/get',							// banner 创意状态查看 api
		'videoCreativeUpload' => '/api/video/add',
		'videoCreativeUpdate' => '/api/video/update',
		'videoCreativeStatus' => '/api/video/status', 
		'videoCreativeGet' => '/api/video/get',
		'mobileWebCreativeUpload' => '/api/mobile/web-add',
        'mobileWebCreativeUpdate' => '/api/mobile/web-update', 
        'mobileAppCreativeUpload' => '/api/mobile/inapp-add',
        'mobileAppCreativeUpdate' => '/api/mobile/inapp-update',
        'mobileCreativeStatus' => '/api/mobile/status', 
        'mobileCreativeGet' => '/api/mobile/get', 
        // mobile video
        'mobileVideoCreativeUpload' => '/api/mobile-video/add',
        'mobileVideoCreativeUpdate' => '/api/mobile-video/update',
        'mobileVideoCreativeStatus' => '/api/mobile-video/status', 
        'mobileVideoCreativeGet' => '/api/mobile-video/get',
        // pmp
        'pmp'   => '/api/pmp/get-pmp',
        'pmpAdspace'   => '/api/pmp/get-pmp-adspace',
        // mediaList
        'mediaList' => '/api/user/media-list',	
        	
		'macros' => [ 														// 创意模板替换宏
			'{!dsp_cdn_url}' => 'http://cdn.admath.vamaker.com/admath/d',          // 替换为真实的 cdn js 地址
			'{!dsp_creative_logo}' => ' ',
		],
	],
];
